package com.qxsx.midi.activity.me;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.qxsx.midi.R;
import com.qxsx.midi.activity.base.BaseActivity;

/**
 * Created by LYJ on 2015/9/25.
 */
public class AmendAddressActivity extends BaseActivity implements View.OnClickListener {
    private Button bt_save;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_address_amend);
        setTitle("修改收货地址");
        setNavBtn(R.mipmap.back, 0);
        bt_save = (Button)findViewById(R.id.bt_save);
        bt_save.setOnClickListener(this);
    }

    @Override
    protected void HandleTitleBarEvent(TitleBar component, View v) {
        switch (component) {
            case LEFT:
                finish();
                break;
        }
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.bt_save:
                finish();
                break;
        }
    }
}
